package com.ljw.food_order_server.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 窗口
 * </p>
 *
 * @author ljw
 * @since 2021-07-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("my_window")
@ApiModel(value="MyWindow对象", description="窗口")
public class MyWindow implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "窗口序号")
    @TableId(value = "window_id", type = IdType.AUTO)
    private Integer windowId;

    @ApiModelProperty(value = "窗口名称")
    @TableField("window_name")
    private String windowName;

    @ApiModelProperty(value = "该窗口所处位置1/2=总部/美创")
    @TableField("position_id")
    private Integer positionId;


}
